package org.example.wu_and_dian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.wu_and_dian.entity.Project;

import java.util.List;

/**
* @author SS2613
* @description 针对表【project】的数据库操作Mapper
* @createDate 2025-03-20 11:34:39
* @Entity .entity.Project
*/
public interface ProjectMapper extends BaseMapper<Project> {

    List<Project> getProjectsByEmail(String email);

    int deleteProjectById(String documentId);
    int insert(Project project);

    int updateProject(String projectId, String name, String description);
}




